#pragma once

namespace one_rag {

  struct AppBase : Object {
  };



class App : public WinThread
{
    public:
        App();
        ~App();
        static volatile WinThread* mainLoop;

#ifdef _WIN32
  static HINSTANCE GetInstance();
#endif
    protected:
    private:
};

#ifdef _WIN32
  inline HINSTANCE App::GetInstance() {
    return GetModuleHandle(NULL);
  }


#endif
}
